home *** CD-ROM | disk | FTP | other *** search
/ Aminet 31 / Aminet 31 (1999)(Schatztruhe)[!][Jun 1999].iso / Aminet / comm / news / slrn-bin.lha / slrn / doc / tm / slrnfuns / file.tm < prev    next >
Text File  |  1999-04-27  |  2KB  |  50 lines

  1. \function{close_log_file}
  2. \synopsis{Close a previously opened log file}
  3. \usage{Void close_log_file ()}
  4. \description
  5.    The \var{close_log_file} function closes the file previously opened
  6.    by \var{open_log_file}.
  7. \seealso{open_log_file, log_message}
  8. \done
  9.  
  10. \function{log_message}
  11. \synopsis{Send a message to the log file}
  12. \usage{Void log_message (String_Type msg)}
  13. \description
  14.    The \var{log_message} function may be used to write a string to the
  15.    log file.  If no log file has been opened via \var{open_log_file},
  16.    the message will be written to \var{stderr}.
  17. \seealso{open_log_file, close_log_file, message}
  18. \done
  19.  
  20. \function{make_home_filename}
  21. \synopsis{-}
  22. \usage{String make_home_filename (name)}
  23. \description
  24.    This function returns the complete filename associated with a file
  25.    called \var{name} located in the user's home directory.
  26. \seealso{read_mini}
  27. \done
  28.  
  29. \function{open_log_file}
  30. \synopsis{Log S-Lang traceback messages to a file}
  31. \usage{Void open_log_file (String_Type file)}
  32. \description
  33.    The \var{open_log_file} function causes \slang traceback messages
  34.    to be written to the specified file.  This is useful for debugging
  35.    macros.  Traceback messages are enabled by setting the \slang
  36.    variable \var{_traceback} to a non-zero value.
  37. \seealso{close_log_file, log_message, _traceback, _trace_function}
  38. \done
  39.  
  40. \function{print_file}
  41. \synopsis{Send a file to the printer}
  42. \usage{Void print_file (String_Type file)}
  43. \description
  44.    The \var{print_file} function may be used to send a specified file
  45.    to the printer.
  46. \notes
  47.    The printer is specified via the slrnrc \var{printer_name} variable.
  48. \done
  49.  
  50.